package org.dromara.web.system.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 账单明细对象 app_bill_detail
 *
 * @author Lion Li
 * @date 2025-09-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("app_bill_detail")
public class AppBillDetail extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 交易数量
     */
    private Long transactionAmount;

    /**
     * 用户剩余余额
     */
    private Long userBalance;

    /**
     * 类型 1收入 2支出
     */
    private Long type;

    /**
     * 备注
     */
    private String remark;


}
